package com.ssm.driver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ssm.common.utils.PageUtils;
import com.ssm.common.utils.R;
import com.ssm.driver.entity.SsmSjEntity;
import com.ssm.driver.entity.vo.OrderDto;
import com.ssm.driver.entity.vo.SoOrderDto;
import com.ssm.driver.entity.vo.SodetailDto;

import java.util.ArrayList;
import java.util.Map;

/**
 * 
 *
 * @author ssm
 * @email sunlightcs@gmail.com
 * @date 2023-03-19 17:24:28
 */
public interface SsmSjService extends IService<SsmSjEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils findPage(Map<String, Object> params);

    PageUtils findone(Map<String, Object> params);

    PageUtils findone1(Map<String, Object> params);

    Boolean freeze(Integer[] sjIds);

    Boolean thaw(Integer[] sjIds);

    R sendcode(String phone);

    SsmSjEntity finduser(String userphomne);

    ArrayList<OrderDto> getOrder(String sjId);

    ArrayList<SoOrderDto> getsoOrder(String sjId);

    ArrayList<SodetailDto> getDetails(String id);


//    Boolean alert(Integer sjId, Integer statu);
}

